package extends02;

public class Demo02 {
    public static void main(String[] args) {
        Teacher teacher = new Teacher();
       // teacher.name="老王";
       teacher.setName("老王");
        teacher.teach();
    }
}
